package com.lp.common.constant;

/**
 * @program: backend
 * @description: 优惠券常量
 * @author: Ke.Song
 * @since: 2024-03-30 15:08:22
 */
public class CouponConstant {

    /**
     * 通用优惠券
     */
    public static final int USE_TYPE_GENERIC = 0;

    /**
     * 训练营优惠券
     */
    public static final int USE_TYPE_TRAINING = 3;

    /**
     * 会员优惠券
     */
    public static final int USE_TYPE_MEMBERS = 2;

    /**
     * 课程优惠券
     */
    public static final int USE_TYPE_COURSE = 4;

    /**
     * 未使用
     */
    public static final int STATUS_NOT_USED = 0;

    /**
     * 已使用
     */
    public static final int STATUS_USED = 1;

    /**
     * 已失效
     */
    public static final int STATUS_INVALID = 2;

    /**
     * 新人注册获得
     */
    public static final int GAIN_TYPE_NEW = 1;

    /**
     * 购买训练营获得
     */
    public static final int GAIN_TYPE_TRAINING = 3;

    /**
     * 购买会员获得
     */
    public static final int GAIN_TYPE_MEMBERS = 2;

    /**
     * 生日获得
     */
    public static final int GAIN_TYPE_BIRTHDAY = 4;

    /**
     * 购买课程获得
     */
    public static final int GAIN_TYPE_COURSE = 5;
}
